///包存储对象
class Store {
  //包名
  String bundleIdentifier;
  //版本
  String bundleVersion;
  //编译代号
  String buildNumber;
  //app标题
  String title;
  //app子标题
  String subtitle;
  String md5;
  //创建时间
  String createTime;

  ///默认构造函数
  Store(
      {this.bundleIdentifier,
      this.bundleVersion,
      this.buildNumber,
      this.title,
      this.subtitle,
      this.md5,
      this.createTime});

  Store.fromJson(Map<String, dynamic> json)
      : bundleIdentifier = json['bundleIdentifier'],
        bundleVersion = json['bundleVersion'],
        buildNumber = json['buildNumber'],
        title = json['title'],
        subtitle = json['subtitle'],
        md5 = json['md5'],
        createTime = json['createTime'];

  Map<String, dynamic> toJson() => {
        'bundleIdentifier': bundleIdentifier,
        'bundleVersion': bundleVersion,
        'buildNumber': buildNumber,
        'title': title,
        'subtitle': subtitle,
        'md5': md5,
        'createTime': createTime,
      };
}
